package com.kclm.xsap.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kclm.xsap.consts.KeyNameOfCache;
import com.kclm.xsap.entity.GlobalReservationSetEntity;
import net.jodah.expiringmap.ExpiringMap;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.HashMap;

@Component("mapCache")
public class MapCacheService {
    //存放会员卡统计数据的信息
    HashMap<KeyNameOfCache, Object> cacheMemberInfoMap=new HashMap<>();
    
    public HashMap<KeyNameOfCache, Object> getCacheInfo() {
        //存放会员卡统计信息的map
        return cacheMemberInfoMap;
    }

}